package com.moonstar.mapper;

import com.moonstar.pojo.FileEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 文件上传dao
 */
@Mapper
public interface FileMapper {

	FileEntity get(Long id);

	List<FileEntity> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(FileEntity file);

	int update(FileEntity file);

	int remove(Long id);

	int batchRemove(Long[] ids);
}
